package com.ruoyi.business.mapper;

import java.util.List;
import com.ruoyi.business.domain.WorkStep;

/**
 * 工步Mapper接口
 * 
 * @author DL
 * @date 2025-06-24
 */
public interface WorkStepMapper 
{
    /**
     * 查询工步
     * 
     * @param id 工步主键
     * @return 工步
     */
    public WorkStep selectWorkStepById(Long id);

    /**
     * 查询工步列表
     * 
     * @param workStep 工步
     * @return 工步集合
     */
    public List<WorkStep> selectWorkStepList(WorkStep workStep);

    /**
     * 新增工步
     * 
     * @param workStep 工步
     * @return 结果
     */
    public int insertWorkStep(WorkStep workStep);

    /**
     * 修改工步
     * 
     * @param workStep 工步
     * @return 结果
     */
    public int updateWorkStep(WorkStep workStep);

    /**
     * 删除工步
     * 
     * @param id 工步主键
     * @return 结果
     */
    public int deleteWorkStepById(Long id);

    /**
     * 批量删除工步
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWorkStepByIds(Long[] ids);
}
